package net.jeeshop.services.common;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GoodShopExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GoodShopExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_good_shop
     *
     * @mbggenerated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("userId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("userId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("userId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("userId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("userId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("userId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("userId like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("userId not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("userId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("userId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("userId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("userId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andShopnameIsNull() {
            addCriterion("shopName is null");
            return (Criteria) this;
        }

        public Criteria andShopnameIsNotNull() {
            addCriterion("shopName is not null");
            return (Criteria) this;
        }

        public Criteria andShopnameEqualTo(String value) {
            addCriterion("shopName =", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameNotEqualTo(String value) {
            addCriterion("shopName <>", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameGreaterThan(String value) {
            addCriterion("shopName >", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameGreaterThanOrEqualTo(String value) {
            addCriterion("shopName >=", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameLessThan(String value) {
            addCriterion("shopName <", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameLessThanOrEqualTo(String value) {
            addCriterion("shopName <=", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameLike(String value) {
            addCriterion("shopName like", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameNotLike(String value) {
            addCriterion("shopName not like", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameIn(List<String> values) {
            addCriterion("shopName in", values, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameNotIn(List<String> values) {
            addCriterion("shopName not in", values, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameBetween(String value1, String value2) {
            addCriterion("shopName between", value1, value2, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameNotBetween(String value1, String value2) {
            addCriterion("shopName not between", value1, value2, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopheadimageIsNull() {
            addCriterion("shopHeadImage is null");
            return (Criteria) this;
        }

        public Criteria andShopheadimageIsNotNull() {
            addCriterion("shopHeadImage is not null");
            return (Criteria) this;
        }

        public Criteria andShopheadimageEqualTo(String value) {
            addCriterion("shopHeadImage =", value, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andShopheadimageNotEqualTo(String value) {
            addCriterion("shopHeadImage <>", value, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andShopheadimageGreaterThan(String value) {
            addCriterion("shopHeadImage >", value, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andShopheadimageGreaterThanOrEqualTo(String value) {
            addCriterion("shopHeadImage >=", value, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andShopheadimageLessThan(String value) {
            addCriterion("shopHeadImage <", value, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andShopheadimageLessThanOrEqualTo(String value) {
            addCriterion("shopHeadImage <=", value, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andShopheadimageLike(String value) {
            addCriterion("shopHeadImage like", value, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andShopheadimageNotLike(String value) {
            addCriterion("shopHeadImage not like", value, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andShopheadimageIn(List<String> values) {
            addCriterion("shopHeadImage in", values, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andShopheadimageNotIn(List<String> values) {
            addCriterion("shopHeadImage not in", values, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andShopheadimageBetween(String value1, String value2) {
            addCriterion("shopHeadImage between", value1, value2, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andShopheadimageNotBetween(String value1, String value2) {
            addCriterion("shopHeadImage not between", value1, value2, "shopheadimage");
            return (Criteria) this;
        }

        public Criteria andCatlogidIsNull() {
            addCriterion("catlogId is null");
            return (Criteria) this;
        }

        public Criteria andCatlogidIsNotNull() {
            addCriterion("catlogId is not null");
            return (Criteria) this;
        }

        public Criteria andCatlogidEqualTo(Long value) {
            addCriterion("catlogId =", value, "catlogid");
            return (Criteria) this;
        }

        public Criteria andCatlogidNotEqualTo(Long value) {
            addCriterion("catlogId <>", value, "catlogid");
            return (Criteria) this;
        }

        public Criteria andCatlogidGreaterThan(Long value) {
            addCriterion("catlogId >", value, "catlogid");
            return (Criteria) this;
        }

        public Criteria andCatlogidGreaterThanOrEqualTo(Long value) {
            addCriterion("catlogId >=", value, "catlogid");
            return (Criteria) this;
        }

        public Criteria andCatlogidLessThan(Long value) {
            addCriterion("catlogId <", value, "catlogid");
            return (Criteria) this;
        }

        public Criteria andCatlogidLessThanOrEqualTo(Long value) {
            addCriterion("catlogId <=", value, "catlogid");
            return (Criteria) this;
        }

        public Criteria andCatlogidIn(List<Long> values) {
            addCriterion("catlogId in", values, "catlogid");
            return (Criteria) this;
        }

        public Criteria andCatlogidNotIn(List<Long> values) {
            addCriterion("catlogId not in", values, "catlogid");
            return (Criteria) this;
        }

        public Criteria andCatlogidBetween(Long value1, Long value2) {
            addCriterion("catlogId between", value1, value2, "catlogid");
            return (Criteria) this;
        }

        public Criteria andCatlogidNotBetween(Long value1, Long value2) {
            addCriterion("catlogId not between", value1, value2, "catlogid");
            return (Criteria) this;
        }

        public Criteria andShoplevelIsNull() {
            addCriterion("shopLevel is null");
            return (Criteria) this;
        }

        public Criteria andShoplevelIsNotNull() {
            addCriterion("shopLevel is not null");
            return (Criteria) this;
        }

        public Criteria andShoplevelEqualTo(Integer value) {
            addCriterion("shopLevel =", value, "shoplevel");
            return (Criteria) this;
        }

        public Criteria andShoplevelNotEqualTo(Integer value) {
            addCriterion("shopLevel <>", value, "shoplevel");
            return (Criteria) this;
        }

        public Criteria andShoplevelGreaterThan(Integer value) {
            addCriterion("shopLevel >", value, "shoplevel");
            return (Criteria) this;
        }

        public Criteria andShoplevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("shopLevel >=", value, "shoplevel");
            return (Criteria) this;
        }

        public Criteria andShoplevelLessThan(Integer value) {
            addCriterion("shopLevel <", value, "shoplevel");
            return (Criteria) this;
        }

        public Criteria andShoplevelLessThanOrEqualTo(Integer value) {
            addCriterion("shopLevel <=", value, "shoplevel");
            return (Criteria) this;
        }

        public Criteria andShoplevelIn(List<Integer> values) {
            addCriterion("shopLevel in", values, "shoplevel");
            return (Criteria) this;
        }

        public Criteria andShoplevelNotIn(List<Integer> values) {
            addCriterion("shopLevel not in", values, "shoplevel");
            return (Criteria) this;
        }

        public Criteria andShoplevelBetween(Integer value1, Integer value2) {
            addCriterion("shopLevel between", value1, value2, "shoplevel");
            return (Criteria) this;
        }

        public Criteria andShoplevelNotBetween(Integer value1, Integer value2) {
            addCriterion("shopLevel not between", value1, value2, "shoplevel");
            return (Criteria) this;
        }

        public Criteria andShoporderIsNull() {
            addCriterion("shopOrder is null");
            return (Criteria) this;
        }

        public Criteria andShoporderIsNotNull() {
            addCriterion("shopOrder is not null");
            return (Criteria) this;
        }

        public Criteria andShoporderEqualTo(Integer value) {
            addCriterion("shopOrder =", value, "shoporder");
            return (Criteria) this;
        }

        public Criteria andShoporderNotEqualTo(Integer value) {
            addCriterion("shopOrder <>", value, "shoporder");
            return (Criteria) this;
        }

        public Criteria andShoporderGreaterThan(Integer value) {
            addCriterion("shopOrder >", value, "shoporder");
            return (Criteria) this;
        }

        public Criteria andShoporderGreaterThanOrEqualTo(Integer value) {
            addCriterion("shopOrder >=", value, "shoporder");
            return (Criteria) this;
        }

        public Criteria andShoporderLessThan(Integer value) {
            addCriterion("shopOrder <", value, "shoporder");
            return (Criteria) this;
        }

        public Criteria andShoporderLessThanOrEqualTo(Integer value) {
            addCriterion("shopOrder <=", value, "shoporder");
            return (Criteria) this;
        }

        public Criteria andShoporderIn(List<Integer> values) {
            addCriterion("shopOrder in", values, "shoporder");
            return (Criteria) this;
        }

        public Criteria andShoporderNotIn(List<Integer> values) {
            addCriterion("shopOrder not in", values, "shoporder");
            return (Criteria) this;
        }

        public Criteria andShoporderBetween(Integer value1, Integer value2) {
            addCriterion("shopOrder between", value1, value2, "shoporder");
            return (Criteria) this;
        }

        public Criteria andShoporderNotBetween(Integer value1, Integer value2) {
            addCriterion("shopOrder not between", value1, value2, "shoporder");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIsNull() {
            addCriterion("provinceCode is null");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIsNotNull() {
            addCriterion("provinceCode is not null");
            return (Criteria) this;
        }

        public Criteria andProvincecodeEqualTo(String value) {
            addCriterion("provinceCode =", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotEqualTo(String value) {
            addCriterion("provinceCode <>", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeGreaterThan(String value) {
            addCriterion("provinceCode >", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeGreaterThanOrEqualTo(String value) {
            addCriterion("provinceCode >=", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLessThan(String value) {
            addCriterion("provinceCode <", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLessThanOrEqualTo(String value) {
            addCriterion("provinceCode <=", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLike(String value) {
            addCriterion("provinceCode like", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotLike(String value) {
            addCriterion("provinceCode not like", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIn(List<String> values) {
            addCriterion("provinceCode in", values, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotIn(List<String> values) {
            addCriterion("provinceCode not in", values, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeBetween(String value1, String value2) {
            addCriterion("provinceCode between", value1, value2, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotBetween(String value1, String value2) {
            addCriterion("provinceCode not between", value1, value2, "provincecode");
            return (Criteria) this;
        }

        public Criteria andCitycodeIsNull() {
            addCriterion("cityCode is null");
            return (Criteria) this;
        }

        public Criteria andCitycodeIsNotNull() {
            addCriterion("cityCode is not null");
            return (Criteria) this;
        }

        public Criteria andCitycodeEqualTo(String value) {
            addCriterion("cityCode =", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeNotEqualTo(String value) {
            addCriterion("cityCode <>", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeGreaterThan(String value) {
            addCriterion("cityCode >", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeGreaterThanOrEqualTo(String value) {
            addCriterion("cityCode >=", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeLessThan(String value) {
            addCriterion("cityCode <", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeLessThanOrEqualTo(String value) {
            addCriterion("cityCode <=", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeLike(String value) {
            addCriterion("cityCode like", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeNotLike(String value) {
            addCriterion("cityCode not like", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeIn(List<String> values) {
            addCriterion("cityCode in", values, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeNotIn(List<String> values) {
            addCriterion("cityCode not in", values, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeBetween(String value1, String value2) {
            addCriterion("cityCode between", value1, value2, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeNotBetween(String value1, String value2) {
            addCriterion("cityCode not between", value1, value2, "citycode");
            return (Criteria) this;
        }

        public Criteria andAreacodeIsNull() {
            addCriterion("areaCode is null");
            return (Criteria) this;
        }

        public Criteria andAreacodeIsNotNull() {
            addCriterion("areaCode is not null");
            return (Criteria) this;
        }

        public Criteria andAreacodeEqualTo(String value) {
            addCriterion("areaCode =", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotEqualTo(String value) {
            addCriterion("areaCode <>", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeGreaterThan(String value) {
            addCriterion("areaCode >", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeGreaterThanOrEqualTo(String value) {
            addCriterion("areaCode >=", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeLessThan(String value) {
            addCriterion("areaCode <", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeLessThanOrEqualTo(String value) {
            addCriterion("areaCode <=", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeLike(String value) {
            addCriterion("areaCode like", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotLike(String value) {
            addCriterion("areaCode not like", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeIn(List<String> values) {
            addCriterion("areaCode in", values, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotIn(List<String> values) {
            addCriterion("areaCode not in", values, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeBetween(String value1, String value2) {
            addCriterion("areaCode between", value1, value2, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotBetween(String value1, String value2) {
            addCriterion("areaCode not between", value1, value2, "areacode");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andXpointIsNull() {
            addCriterion("xpoint is null");
            return (Criteria) this;
        }

        public Criteria andXpointIsNotNull() {
            addCriterion("xpoint is not null");
            return (Criteria) this;
        }

        public Criteria andXpointEqualTo(Double value) {
            addCriterion("xpoint =", value, "xpoint");
            return (Criteria) this;
        }

        public Criteria andXpointNotEqualTo(Double value) {
            addCriterion("xpoint <>", value, "xpoint");
            return (Criteria) this;
        }

        public Criteria andXpointGreaterThan(Double value) {
            addCriterion("xpoint >", value, "xpoint");
            return (Criteria) this;
        }

        public Criteria andXpointGreaterThanOrEqualTo(Double value) {
            addCriterion("xpoint >=", value, "xpoint");
            return (Criteria) this;
        }

        public Criteria andXpointLessThan(Double value) {
            addCriterion("xpoint <", value, "xpoint");
            return (Criteria) this;
        }

        public Criteria andXpointLessThanOrEqualTo(Double value) {
            addCriterion("xpoint <=", value, "xpoint");
            return (Criteria) this;
        }

        public Criteria andXpointIn(List<Double> values) {
            addCriterion("xpoint in", values, "xpoint");
            return (Criteria) this;
        }

        public Criteria andXpointNotIn(List<Double> values) {
            addCriterion("xpoint not in", values, "xpoint");
            return (Criteria) this;
        }

        public Criteria andXpointBetween(Double value1, Double value2) {
            addCriterion("xpoint between", value1, value2, "xpoint");
            return (Criteria) this;
        }

        public Criteria andXpointNotBetween(Double value1, Double value2) {
            addCriterion("xpoint not between", value1, value2, "xpoint");
            return (Criteria) this;
        }

        public Criteria andYpointIsNull() {
            addCriterion("ypoint is null");
            return (Criteria) this;
        }

        public Criteria andYpointIsNotNull() {
            addCriterion("ypoint is not null");
            return (Criteria) this;
        }

        public Criteria andYpointEqualTo(Double value) {
            addCriterion("ypoint =", value, "ypoint");
            return (Criteria) this;
        }

        public Criteria andYpointNotEqualTo(Double value) {
            addCriterion("ypoint <>", value, "ypoint");
            return (Criteria) this;
        }

        public Criteria andYpointGreaterThan(Double value) {
            addCriterion("ypoint >", value, "ypoint");
            return (Criteria) this;
        }

        public Criteria andYpointGreaterThanOrEqualTo(Double value) {
            addCriterion("ypoint >=", value, "ypoint");
            return (Criteria) this;
        }

        public Criteria andYpointLessThan(Double value) {
            addCriterion("ypoint <", value, "ypoint");
            return (Criteria) this;
        }

        public Criteria andYpointLessThanOrEqualTo(Double value) {
            addCriterion("ypoint <=", value, "ypoint");
            return (Criteria) this;
        }

        public Criteria andYpointIn(List<Double> values) {
            addCriterion("ypoint in", values, "ypoint");
            return (Criteria) this;
        }

        public Criteria andYpointNotIn(List<Double> values) {
            addCriterion("ypoint not in", values, "ypoint");
            return (Criteria) this;
        }

        public Criteria andYpointBetween(Double value1, Double value2) {
            addCriterion("ypoint between", value1, value2, "ypoint");
            return (Criteria) this;
        }

        public Criteria andYpointNotBetween(Double value1, Double value2) {
            addCriterion("ypoint not between", value1, value2, "ypoint");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsIsNull() {
            addCriterion("shopEnviroments is null");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsIsNotNull() {
            addCriterion("shopEnviroments is not null");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsEqualTo(String value) {
            addCriterion("shopEnviroments =", value, "shopenviroments");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsNotEqualTo(String value) {
            addCriterion("shopEnviroments <>", value, "shopenviroments");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsGreaterThan(String value) {
            addCriterion("shopEnviroments >", value, "shopenviroments");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsGreaterThanOrEqualTo(String value) {
            addCriterion("shopEnviroments >=", value, "shopenviroments");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsLessThan(String value) {
            addCriterion("shopEnviroments <", value, "shopenviroments");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsLessThanOrEqualTo(String value) {
            addCriterion("shopEnviroments <=", value, "shopenviroments");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsLike(String value) {
            addCriterion("shopEnviroments like", value, "shopenviroments");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsNotLike(String value) {
            addCriterion("shopEnviroments not like", value, "shopenviroments");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsIn(List<String> values) {
            addCriterion("shopEnviroments in", values, "shopenviroments");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsNotIn(List<String> values) {
            addCriterion("shopEnviroments not in", values, "shopenviroments");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsBetween(String value1, String value2) {
            addCriterion("shopEnviroments between", value1, value2, "shopenviroments");
            return (Criteria) this;
        }

        public Criteria andShopenviromentsNotBetween(String value1, String value2) {
            addCriterion("shopEnviroments not between", value1, value2, "shopenviroments");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_good_shop
     *
     * @mbggenerated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_good_shop
     *
     * @mbggenerated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}